#pragma once
#include "Support.h"
#include "Data\GameData.h"
USING_NS_CC;

enum class MagicArrow {
	FIRE,
	MagicCount
};

class Arrow {
public:
	Arrow(const char *arrowType);
private:
	CC_SYNTHESIZE(const char *, m_arrowFileName, ArrowFileName);
	CC_SYNTHESIZE(int, m_speed, Speed);
	CC_SYNTHESIZE(int, m_knovkBack, KnockBack);
	CC_SYNTHESIZE(int, m_range, Range);
	CC_SYNTHESIZE(MagicArrow, m_magicArrow, MagicArrow);
};